package com.owner.biz.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import com.owner.biz.PlotsManageBiz;
import com.owner.dao.PlotsManageDao;
import com.owner.entity.PlotsManage;
@Service("plotsManageBiz")
@Scope("prototype")
public class PlotsManageBizImpl implements PlotsManageBiz {
	@Autowired
	private PlotsManageDao plotsManageDao;

	public List<PlotsManage> getAllPlotsByUserId(int userId) {
		// TODO Auto-generated method stub
		return plotsManageDao.getAllPlotsByUserId(userId);
	}
}
